package org.jeecg.modules.wlhy.customerwallet.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: hy_customer_offline_wallet_recharge
 * @Author: jeecg-boot
 * @Date:   2021-10-20
 * @Version: V1.0
 */
@Data
@TableName("hy_customer_offline_wallet_recharge")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_customer_offline_wallet_recharge对象", description="hy_customer_offline_wallet_recharge")
public class HyCustomerWalletRecharge implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**操作类型（1充值 2支付运费） */
	@Excel(name = "操作类型（1充值 2支付运费3扣除） ", width = 15)
    @ApiModelProperty(value = "操作类型（1充值2支付运费3扣除4差价支付） ")
    private String ot;
	/**1收入 2支出*/
	@Excel(name = "1收入 2支出", width = 15)
    @ApiModelProperty(value = "1收入 2支出")
    private String rt;
	/**钱包id*/
	@Excel(name = "钱包id", width = 15)
    @ApiModelProperty(value = "钱包id")
    private String walletId;
	/**货主id*/
	@Excel(name = "货主id", width = 15)
    @ApiModelProperty(value = "货主id")
    private String customerId;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private BigDecimal amt;
	/**结余*/
	@Excel(name = "结余", width = 15)
    @ApiModelProperty(value = "结余")
    private BigDecimal lastAmt;

    @ApiModelProperty(value = "创建人")
    private String createBy;

	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @Excel(name = "支付渠道", width = 15, dicCode = "pay_channel")
    @ApiModelProperty(value = "支付渠道(1农行支付2中信银行 5线下支付)")
    @Dict(dicCode = "pay_channel")
    private String payChannel;
}
